Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polkadot SDK Update #965

Closed
wants to merge 64 commits into from
Closed

Polkadot SDK Update #965

wants to merge 64 commits into from

Conversation

claravanstaden
Copy link
Contributor

@claravanstaden claravanstaden commented Sep 20, 2023

  • Add polkadot-sdk as submodule
  • Remove cumuls as submodule
  • Update snowbridge pallet dependencies
  • Make sure tests and Github Action workflows pass
  • Update snowbridge scripts to use polkadot-sdk, not cumulus
  • Add snowbridge pallets to bridge hub
  • Double check dependency versions
  • Port any config from snowfork/cumulus to snowfork/polkadot-sdk
  • E2E scripts complete
  • Parachain block production with pre-opened HRMP channels (draft) Zombienet test with preopen hrmp with zombienet investigation paritytech/polkadot-sdk#1616
  • Asset hub genesis mismatch with Kusama asset hub chain spec
  • Smoke tests pass
  • Token transfer works
  • Regenerate benchmarks

Polkadot SDK companion: Snowfork/polkadot-sdk#2

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (6b08d30) 75.23% compared to head (259f464) 76.61%.
Report is 5 commits behind head on main.

❗ Current head 259f464 differs from pull request most recent head 7927b3e. Consider uploading reports for the commit 7927b3e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #965      +/-   ##
==========================================
+ Coverage   75.23%   76.61%   +1.37%     
==========================================
  Files          41       41              
  Lines        1813     1924     +111     
  Branches       75       75              
==========================================
+ Hits         1364     1474     +110     
- Misses        429      430       +1     
  Partials       20       20              
Flag Coverage Δ
rust 77.37% <80.00%> (+1.63%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
parachain/pallets/control/src/lib.rs 61.36% <ø> (+0.68%) ⬆️
...achain/pallets/ethereum-beacon-client/src/impls.rs 56.81% <ø> (ø)
...arachain/pallets/ethereum-beacon-client/src/lib.rs 94.96% <ø> (-0.05%) ⬇️
...rachain/pallets/ethereum-beacon-client/src/mock.rs 100.00% <100.00%> (ø)
parachain/pallets/outbound-queue/src/lib.rs 90.41% <100.00%> (ø)
parachain/primitives/core/src/outbound.rs 17.18% <ø> (ø)
parachain/primitives/router/src/inbound/mod.rs 58.51% <100.00%> (ø)
parachain/primitives/router/src/outbound/mod.rs 87.96% <ø> (ø)
parachain/pallets/inbound-queue/src/lib.rs 65.11% <50.00%> (-3.18%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

claravanstaden and others added 11 commits September 20, 2023 10:57
Comment on lines +33 to +37
let origin =
T::AgentOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?;

#[extrinsic_call]
_(RawOrigin::Signed(caller));
_(origin as T::RuntimeOrigin);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the way to handle origin checking in benchmarks.

@claravanstaden
Copy link
Contributor Author

Closing in favour of #972.

@claravanstaden claravanstaden deleted the polkadot-sdk-update branch December 15, 2023 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants